import Layout from '@/layout'

export const menuRoutes = {
    path: '/',
    component: Layout,
    children: [
      {
        path: '/job',
        name: 'job',
        meta: {
          title:"채용정보",
        },
        component: () => import("@/views/job")
      },
      {
        path: '/recruit',
        name: 'recruit',
        meta: {
          title:"인재정보",
        },
        component: () => import("@/views/recruit")
      },
      {
        path: '/coach',
        name: 'coach',
        meta: {
          title:"코칭서비스",
        },
        redirect: '/coach',
        component: Layout,
        children:[
            {
                path: '/coach',
                name: 'coachIndex',
                meta: {title:"코칭서비스",isHide:true,keepAlive:true},
                component: () => import("@/views/coach/index.vue")
            },
            {
                path: '/coach/online',
                name: 'coachOnline',
                meta: {title:"취업상담"},
                component: () => import("@/views/coach/online.vue")
            },
            {
                path: '/coach/resume',
                name: 'coachResume',
                meta: {title:"이력서 클리닉"},
                component: () => import("@/views/coach/resume.vue")
            },
            {
              path: '/coach/matching',
              name: 'coachMatching',
              meta: {title:"채용정보서칭"},
              component: () => import("@/views/coach/matching.vue")
          },
          {
              path: '/coach/basic',
              name: 'coachBasic',
              meta: {title:"모의 서류전형"},
              component: () => import("@/views/coach/basic.vue")
          },
          {
              path: '/coach/interview',
              name: 'coachInterview',
              meta: {title:"모의 면접"},
              component: () => import("@/views/coach/interview.vue")
          },
          {
            path: '/coach/info',
            name: 'coachRequest',
            meta: {title:"신청하기",isHide:true},
            component: () => import("@/views/coach/form.vue")
          },
        ]
      },
      {
        path: '/help',
        name: 'help',
        meta: {
          title:"취업도우미",
        },
        redirect: '/help/review',
        component: Layout,
        children:[
            {
                path: '/help/review',
                name: 'helpReview',
                meta: {title:"워크위즈후기"},
                component: () => import("@/views/help/review.vue")
            },
            {
                path: '/help/reviewView',
                name: 'helpReviewView',
                meta: {title:"워크위즈후기",isHide:true},
                component: () => import("@/views/help/reviewView.vue")
            },
            {
                path: '/help/reviewWrite',
                name: 'helpReviewWrite',
                meta: {title:"워크위즈후기",isHide:true},
                component: () => import("@/views/help/reviewWrite.vue")
            },
            {
                path: '/help/case',
                name: 'helpCase',
                meta: {title:"성공사례"},
                component: () => import("@/views/help/case.vue")
            },
            {
                path: '/help/caseView',
                name: 'helpCaseView',
                meta: {title:"워크위즈후기",isHide:true},
                component: () => import("@/views/help/caseView.vue")
            },
            {
                path: '/help/matching',
                name: 'helpMatching',
                meta: {title:"취업성공전략"},
                component: () => import("@/views/help/matching.vue")
            },
            {
                path: '/help/matchingView',
                name: 'helpMatchingView',
                meta: {title:"취업성공전략",isHide:true},
                component: () => import("@/views/help/matchingView.vue")
            },
        ]
      },
    ]
  }

export default menuRoutes
